package com.xlh.security;

import com.xlh.pojo.user.User;

import java.util.List;

/**
 * @author cheer
 */
public interface UserInfoHolder {

    User getUser();

    Long getUserId();

    String getUsername();

    Boolean isTeacher();

    Boolean isAdmin();

    Boolean isSuperAdmin();

    Boolean isStudent();

    Boolean isLogin();

    List<Long> getStudentClassIds();
}
